import request from '@/utils/request'

// 查询统计报送列表
export function listQyStatisticsReport(query) {
  return request({
    url: '/energy/qyStatisticsReport/list',
    method: 'get',
    params: query
  })
}

// 查询统计报送详细
export function getQyStatisticsReport(id) {
  return request({
    url: '/energy/qyStatisticsReport/' + id,
    method: 'get'
  })
}

// 新增统计报送
export function addQyStatisticsReport(data) {
  return request({
    url: '/energy/qyStatisticsReport',
    method: 'post',
    data: data
  })
}

// 修改统计报送
export function updateQyStatisticsReport(data) {
  return request({
    url: '/energy/qyStatisticsReport',
    method: 'put',
    data: data
  })
}

// 删除统计报送
export function delQyStatisticsReport(id) {
  return request({
    url: '/energy/qyStatisticsReport/' + id,
    method: 'delete'
  })
}
